Skip to main content

ISimpleWorkQueue<T>

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public interface ISimpleWorkQueue<T> : IDisposable where T : class

Methods

Enqueue(T)

Enqueue item

View Source
Declaration
void Enqueue(T workItem)
Parameters
TypeName
<T>workItem

Dequeue(Int32)

Dequeue up to maxBatchSize items from queue

View Source
Declaration
IList<T> Dequeue(int maxBatchSize)
Returns

System.Collections.Generic.IList<<T>>

Parameters
TypeName
System.Int32maxBatchSize